#include<string>
#include<iostream>
#include<string.h>
#include<stack>
using namespace std;

string print[10]={"zero","one","two","three","four","five","six","seven","eight","nine"};

int main(){
    //freopen("in.txt","r",stdin);
    string inp;
    cin>>inp;
    int temp=0;
    for(int i=0;i<inp.length();i++){
        temp+=inp[i]-'0';
    }
    stack<string> ans;
    ans.push(print[temp%10]);
    temp=temp/10;
    while(temp>0){
        ans.push(" ");
        ans.push(print[temp%10]);
        temp=temp/10;
    }
    while(!ans.empty()){
        cout<<ans.top();
        ans.pop();
    }


}
